package com.wz.datachannel.model;

import com.google.protobuf.ByteString;

public class BaseData {
	private int uniqueID;
	private int command;
	private int serverCode;
	private ByteString dataBuffer;
	public BaseData() {
		super();
	}
	
	public BaseData(int uniqueID, short command, int serverCode) {
		super();
		this.uniqueID = uniqueID;
		this.command = command;
		this.serverCode = serverCode;
	}
	public BaseData(int uniqueID) {
		super();
		this.uniqueID = uniqueID;
	}
	public int getUniqueID() {
		return uniqueID;
	}
	public void setUniqueID(int uniqueID) {
		this.uniqueID = uniqueID;
	}
	public int getCommand() {
		return command;
	}
	public void setCommand(int command) {
		this.command = command;
	}
	public int getServerCode() {
		return serverCode;
	}
	public void setServerCode(int serverCode) {
		this.serverCode = serverCode;
	}

	public ByteString getDataBuffer() {
		return dataBuffer;
	}

	public void setDataBuffer(ByteString dataBuffer) {
		this.dataBuffer = dataBuffer;
	}
	
}
